package com.chinatgl.latte.util.json;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/4/24.
 */

public class Result<T> implements Serializable {
    /**
     * ok : true
     * code : 0
     * message : success
     * result : {"ct":1479891911851,"ut":1479891911851,"id":41,"versionCode":40,"versionName":"1.8.2","apkPackage":"com.sunday.qingtao","minSdkVersion":"16","apkName":"@7F07005C","fileMd5":"b7c8129bb6ae176749d25bcad7f2beb9","fizeSize":"42526786","fileLogs":"修复\"创业空间\"的点击闪退问题","downLoadUrl":"http://image.qingtaoapp.com/apk/android/app_1_40_1.8.2.apk","type":1}
     */

    private boolean ok;
    private int code;
    private String message;
    private T result;

    public boolean isOk() {
        return ok;
    }

    public void setOk(boolean ok) {
        this.ok = ok;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T reslut) {
        this.result = reslut;
    }
}
